const mongoose = require('mongoose');

const shopSchema = new mongoose.Schema({
  name: {
    type: String,
    required: true
  },
  phone: {
    type: String,
    required: true
  }
});

const Shop = mongoose.model('Shop', shopSchema);

module.exports = Shop;